import Mock from 'mockjs'

var data=Mock.mock({
    "list|10":[
        {
            "id|+1":1,
            "name":"我的同桌作业完成666",
            "title":"@ctitle",
            "pic":"@image(60x60,@color)"
        }
    ]
})

Mock.mock('/list','get',()=>{
    return data
})